package system.dao;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.dao.DataAccessException;
import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;
import org.springframework.stereotype.Repository;

import system.common.Arguments;
import system.model.DB10_iDeskDto;

import com.ibatis.sqlmap.client.SqlMapClient;

/**
 * <pre>
 * Class : system.dao.DB10_iDeskDao / DB10_iDeskDao.java
 * 	Define Class Object : 
 * <br>
 * </pre>
 * @author hwanLee / apexcns,Inc.
 * @version 1.0
 * @see javadoc
 * @since 2012. 9. 25.
 */
@Repository
public class DB10_iDeskDao extends SqlMapClientDaoSupport {
	@Resource(name = "sqlMapClient10")
	protected void initDAO(SqlMapClient sqlMapClient) {
		this.setSqlMapClient(sqlMapClient);
	}

	/**
	 * IDESK_01 - list
	 * 
	 * @param arguments
	 * @return
	 * @throws DataAccessException
	 */
	@SuppressWarnings("unchecked")
	public List<DB10_iDeskDto> idesk_01_list(Arguments arguments) throws DataAccessException {
		return getSqlMapClientTemplate().queryForList("IDESK.idesk_01_list", arguments);
	}
}
